export const tableConfig = [
    { prop: "structureName", label: "三级部件", minWidth: "140" },
    { prop: "templateName", label: "模版名称", minWidth: "140" },
    { prop: "remark", label: "模版备注", minWidth: "140" },
    { prop: "count", label: "检查项数量", minWidth: "140" },
    { prop: "updateTime", label: "更新时间", minWidth: "200" },
    { prop: "state", label: "状态", minWidth: "140", slotName: "state" },
    { label: "操作", minWidth: "200", slotName: "operate", fixed: "right" }
];
export const formConfig = [
    {
        formType: "select",
        formName: "structureId",
        labelName: "三级部件",
        placeholder: "请选择三级部件",
        style: {
            width: "194px"
        },
        options: []
    },
    { formType: "input", type: "text", formName: "name", labelName: "模版名称", placeholder: "请输入模版名称" },
    {
        formType: "select",
        formName: "state",
        labelName: "模版状态",
        placeholder: "请选择模版状态",
        style: {
            width: "194px"
        },
        options: [
            { label: "开", value: 1 },
            { label: "关", value: 0 }
        ]
    }
];
export const rules = {
    templateName: [
        {
            required: true,
            message: "模版名称是必填的",
            trigger: "blur"
        }
    ],
    structureId: [
        {
            required: true,
            message: "三级部件是必填的",
            trigger: "change"
        }
    ]
};
